<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
    pageContext.setAttribute("basePath",basePath);
    String bankRequestType =request.getAttribute("bankRequestType").toString();
    String queryPath = "";
    if(bankRequestType.equals("0")){
        queryPath = basePath+"/bank/bankOrderReply";
    }else{
        queryPath = basePath+"/bank/cardOrderReply";
    }
    pageContext.setAttribute("queryPath",queryPath);
%>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>银行调单系统</title>
    <%@include file="/common/header.jsp"%>
    <script type="text/javascript">
        queryPath ='${queryPath}';
        bankRequestType ='${bankRequestType}';
    </script>
    <script type="text/javascript" src="${basePath}/js/bankorder/replyList.js"></script>
</head>
<body class="hold-transition fq-white sidebar-mini fq-body">
    <div style="background-color: #ecf0f5">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <div class="fq-tit-h1">
                <div class="fq-tit-box  clearfix">
                    <i class="fa fa-bank iconBg fl"></i>
                    <div class="fl">
                        <h2 class="">综合查询</h2>
                        <small>Integrated query</small>
                    </div>
                </div>
            </div>
        </section>

        <!-- Main content -->
        <section class="content">
            <div class="box">
                <div class="box-header with-border">
                    <h3 class="box-title ">
                        银行订单号管理
                    </h3>
                </div>
                <div class="box-body">
                    <div class="w-check-condition-area clearfix">
                        <div class="w-check-condition">
                            <ul class="check-condition-ul">
                                <li class="check-condition-li clearfix">
                                    <div class="kv-box clearfix">
                                        <div class="key">
                                            <span class="bankRequestTypeCls"> 银行订单号</span>
                                        </div>
                                        <div class="val">
                                            <input type="text" class="form-control input-sm w-l-input" name="bankRequestNo" id="bankRequestNo"/>
                                        </div>
                                    </div>

                                    <div class="kv-box center-kv-box clearfix">
                                        <div class="key">
                                            查询类型
                                        </div>
                                        <div class="val">
                                            <select cube-type="select" class="cu-select cu-select-xl w-sp" name="requestType" id="requestType">
                                                <option value="" >选择</option>
                                                <option value="0" >查询</option>
                                                <option value="1">拒付</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="kv-box clearfix">
                                        <div class="key">
                                            紧急状态
                                        </div>
                                        <div class="val">
                                            <select cube-type="select" class="cu-select cu-select-xl w-sp" name="emergencyState" id="emergencyState">
                                                <option value="" >选择</option>
                                                <option value="0" >普通</option>
                                                <option value="1">紧急</option>
                                            </select>
                                        </div>
                                    </div>
                                </li>
                                <li class="check-condition-li clearfix">
                                    <div class="kv-box clearfix">
                                        <div class="key">
                                            银行名称
                                        </div>
                                        <div class="val">
                                            <select cube-type="select" class="cu-select cu-select-xl w-sp" name="bankCode" id="bankCode">
                                                <option value="" >选择</option>
                                            </select>
                                        </div>
                                    </div>

                                    <div class="kv-box clearfix">
                                        <div class="key">
                                            回复状态
                                        </div>
                                        <div class="val">
                                            <select cube-type="select" class="cu-select cu-select-xl w-sp" name="bankRequestState" id="bankRequestState">
                                                <option value="" >选择</option>
                                                <option value="1" >是</option>
                                                <option value="0">否</option>
                                            </select>
                                        </div>
                                    </div>



                                    <div class="kv-box center-kv-box clearfix">
                                        <div class="key">
                                            发送时间
                                        </div>
                                        <div class="val">
                                            <div class="input-group clearfix">
                                                <div class="input-group-addon">
                                                    <i class="fa fa-calendar"></i>
                                                </div>
                                                <input type="text" class="form-control h38" id="sendRange">
                                            </div>
                                        </div>
                                    </div>
                                </li>
                                <li class="check-condition-li clearfix">

                                    <div class="kv-box center-kv-box clearfix">
                                        <div class="key">
                                            是否拦截
                                        </div>
                                        <div class="val">
                                            <select cube-type="select" class="cu-select cu-select-xl w-sp" name="interceptState" id="interceptState">
                                                <option value="" >选择</option>
                                                <option value="1" >是</option>
                                                <option value="0">否</option>
                                            </select>
                                        </div>
                                    </div>

                                </li>
                            </ul>

                            <div class="w-gofor-check">
                                <a href="javascript:void(0)" class="check-btn" id="queryBtn">查询</a>
                                <a href="javascript:void(0)" class="re-btn ml10" id="resetBtn">重置</a>
                            </div>
                        </div>
                        <div class="other-add-area">
                            <ul>
                                <!--<li>-->
                                <!--<a href="" class="btn btn-block btn-info">单个新增</a>-->
                                <!--</li>-->
                                <li>
                                    <a href="javascript:void(0)" class="btn btn-block btn-success" id="exportBtn">批量导出</a>
                                </li>
                            </ul>
                        </div>
                    </div>

                </div>
                <!-- /.box-body -->
            </div>


            <!-- Default box -->
            <div class="box">
                <div class="box-header with-border">
                    <h3 class="box-title ">
                        查询结果
                    </h3>
                </div>
                <div class="box-body">
                    <!--<div class="export-area">-->
                    <!--<a href="" class="check-btn">批量导出</a>-->
                    <!--<a href="" class="check-btn">批量发送</a>-->
                    <!--<a href="" class="check-btn disabled-btn">删除</a>-->
                    <!--</div>-->
                    <div class="table-area">
                        <table id="grid">
                            <colgroup>
                                <col width=""/>
                                <col width=""/>
                                <col width=""/>
                                <col width=""/>
                                <col width=""/>
                                <col width=""/>
                                <col width=""/>
                                <col width=""/>
                                <col width=""/>
                                <col width=""/>
                                <col width=""/>
                                <col width=""/>
                            </colgroup>
                            <thead>
                            <tr>
                                <th>序列号</th>
                                <th>银行名称</th>
                                <th class="bankRequestTypeCls">银行订单号</th>
                                <th>查询类型</th>
                                <th>交易时间</th>
                                <th>交易金额</th>
                                <th>是否拦截</th>
                                <th>紧急状态</th>
                                <th>银行附件</th>
                                <th>京东附件</th>
                                <th>回复状态</th>
                                <th>业务类型</th>
                                <th>发送时间</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                    <!--        <tr>
                                <td>
                                    <label class="">
                                        <input type="checkbox" class="minimal-red">
                                    </label>
                                </td>
                                <td>20170315001</td>
                                <td>交通银行</td>
                                <td>433432423424124124</td>
                                <td>拒付</td>
                                <td>20170909</td>
                                <td>1000.00</td>
                                <td>是</td>
                                <td>紧急</td>
                                <td>1</td>
                                <td>1</td>
                                <td>已回复</td>
                                <td>外部商户</td>
                                <td>20170315</td>
                                <td>
                                    <a href="">详情</a>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label class="">
                                        <input type="checkbox" class="minimal-red">
                                    </label>
                                </td>
                                <td>20170315001</td>
                                <td>交通银行</td>
                                <td>433432423424124124</td>
                                <td>拒付</td>
                                <td>20170909</td>
                                <td>1000.00</td>
                                <td>是</td>
                                <td>紧急</td>
                                <td>1</td>
                                <td>1</td>
                                <td>已回复</td>
                                <td>外部商户</td>
                                <td>20170315</td>
                                <td>
                                    <a href="">详情</a>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label class="">
                                        <input type="checkbox" class="minimal-red">
                                    </label>
                                </td>
                                <td>20170315001</td>
                                <td>交通银行</td>
                                <td>433432423424124124</td>
                                <td>拒付</td>
                                <td>20170909</td>
                                <td>1000.00</td>
                                <td>是</td>
                                <td>紧急</td>
                                <td>1</td>
                                <td>1</td>
                                <td>已回复</td>
                                <td>外部商户</td>
                                <td>20170315</td>
                                <td>
                                    <a href="">详情</a>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <label class="">
                                        <input type="checkbox" class="minimal-red">
                                    </label>
                                </td>
                                <td>20170315001</td>
                                <td>交通银行</td>
                                <td>433432423424124124</td>
                                <td>拒付</td>
                                <td>20170909</td>
                                <td>1000.00</td>
                                <td>是</td>
                                <td>紧急</td>
                                <td>1</td>
                                <td>1</td>
                                <td>已回复</td>
                                <td>外部商户</td>
                                <td>20170315</td>
                                <td>
                                    <a href="">详情</a>
                                </td>
                            </tr> -->

                            </tbody>
                        </table>

                  <!--      <div class="page2 clearfix">
                            <div class="page-wrap">
                                <a href="" class="up-page"><i class="prev-i">&lt;</i></a>
                                <a href="" class="">1</a>
                                <a href="" class="curr">2</a>
                                <a href="">3</a>
                                <span class="apostrophe">···</span>
                                <a href="">36</a>
                                <a href="" class="down-page"><i class="next-i">&gt;</i></a>
                                <span class="tol-pag">共147条记录</span>
                            </div>
                        </div> -->
                    </div>
                </div>
                <!-- /.box-body -->
            </div>
            <!-- /.box -->
        </section>


        <!-- /.content -->
    </div>

</body>
</html>
